#include <stdio.h>
#include <time.h>
#include <math.h>
int main (){
	int par,ten,hund;
	int input;
    printf("寻找Armstrong数：\n");
    for(input=100;input<1000;input++){
        par=input%10;
        ten=(input%100)/10;
        hund=input/100;
        if(input==par*par*par+ten*ten*ten+hund*hund*hund){
            printf("%d ,",input);
            
        }

    }
    printf("\n");
    return 0;
    
}
